package com.wanmait.wisdom.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.experimental.Accessors;

/**
* Created by Mybatis Generator 2024/04/02
*/
@Data
@Accessors(chain = true)
public class Unit implements Serializable {
    private Integer id;

    /**
	* 单元名
	*/
    private String unitName;

    /**
	* 所属楼号
	*/
    private Integer buildingId;
    //楼栋对象
    @TableField(exist = false)
    private Building building;
    /**
	* 每层几户
	*/
    private Integer dwllings;

    private static final long serialVersionUID = 1L;
}